<?php

	function isIPhone(){
		
	    $agent=$_SERVER['HTTP_USER_AGENT'];
	
		if (stripos($agent,'iPad')!==false) return false;
	    if (stripos($agent,'Mobile Safari')!==false) return true;
		if (stripos($agent,'iPhone')!==false) return true;
		if (stripos($agent,'IEMobile')!==false) return true;
	    return false;
	
	}
	
	echo '<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; minimum-scale=1; user-scalable=0;" />';
	
	if (isIPhone()) {
		
		echo '
			<style type="text/css">
			
				#itlogo {
					display: none;
				}

				#header {
					font-size: 22px;
				}

				h1 {
					font-size: 18px;
				}
			
			</style>
		';
		
	}

?>